import request from '@/utils/request'
export const uploadfile_api = (data) => {
  return request({
    method: "POST",
    data,
    url: "/upload/uploadFile"
  })
}

export const uploadBanner_api = (data) => {
  return request({
    method: "POST",
    data,
    url: "/adminSetup/uploadBanner"
  })
}

// /adminSetup/getBanner

export const getBanner_api = (params) => {
  return request({
    method: "get",
    params,
    url: "/adminSetup/getBanner"
  })
}
